Measuring design testability of a UML class diagram

نویسندگان

  • Benoit Baudry
  • Yves Le Traon
چکیده

Design-for-testability is a very important issue in software engineering. It becomes crucial in the case of OO designs where control flows are generally not hierarchical, but are diffuse and distributed over the whole architecture. In this paper, we concentrate on detecting, pinpointing and suppressing potential testability weaknesses of a UML class diagram. The attribute significant from design testability is called ‘class interaction’ and is generalized in the notion of testability anti-pattern: it appears when potentially concurrent client/supplier relationships between classes exist in the system. These interactions point out parts of the design that need to be improved, driving structural modifications or constraints specifications, to reduce the final testing effort. In this paper, the testability measurement we propose counts the number and the complexity of interactions that must be covered during testing. The approach is illustrated on application examples. q 2005 Published by Elsevier B.V.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Testability Analysis of a UML Class Diagram

Design-for-testability is a very important issue in software engineering. It becomes crucial in the case of OO designs where control flows are generally not hierarchical, but are diffuse and distributed over the whole architecture. In this paper, we concentrate on detecting, pinpointing and suppressing potential testability weaknesses of a UML class diagram. The attribute significant from desig...

متن کامل

Measuring and Improving Design Patterns Testability

This paper addresses not only the question of testability measurement of OO designs but also focuses on its practicability. While detecting testability weaknesses (called testability anti-patterns) of an OO design is a crucial task, one cannot expect from a non-specialist to make the right improvements, without guidance or automation. To overcome this limitation, this paper investigates solutio...

متن کامل

An Evaluation of UML in Model Based Testing

Evaluation is used in many models, across many different disciplines. It is also used for many different purposes. For models used in modelbased testing, the evaluation of their testability is an important issue. The United Model Language (UML) has been applied in various areas and disciplines. Among UML, the class diagram is an important descriptive means to model requirements. But it is still...

متن کامل

MOVA: A Tool for Modeling, Measuring and Validating UML Class Diagrams

The MOVA tool is a rewriting-based UML [8] modeling, measuring, and validation tool developed as part of a broader effort for integrating rigorous modeling and validation into the software engineering curricula and the industrial software engineering process. Validation and testing in software development have been recognized of key importance for long. For certain aspects of a design, UML clas...

متن کامل

Compliance of Analysis and Design Models in Object- Oriented Systems: A Metrics Based approach

In an object-oriented environment, it is necessary to ensure that all the requirements are addressed in the analysis and design phase, and modeled consistently in UML diagrams, for visual depiction of the behavioral and structural aspects of the system. Metrics, which measure the extent of compliance between related models, will be a powerful tool for developers to have a quantitative feedback ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Information & Software Technology

دوره 47  شماره 

صفحات  -

تاریخ انتشار 2005